package viewbuilder.decoratorexample

import viewbuilder.ZebraTable

class HomePage extends MainLayout {

    def render(rows) {
        builder.html {
            head {
                title("Home")
            }
            body {
                new ZebraTable().render(builder, rows)
            }
        }
    }

}